<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	@import url("styles/common.scss");

	/* 通过 fontFamily 自定义图标  https://uniapp.dcloud.net.cn/component/uniui/uni-icons.html#%E9%80%9A%E8%BF%87-fontfamily-%E8%87%AA%E5%AE%9A%E4%B9%89%E5%9B%BE%E6%A0%87 */
	@font-face {
		font-family: CustomFont;
		src: url('~@/static/icons/iconfont/iconfont.ttf') format('truetype');
	}

	view,
	text {
		font-size: 14px;
	}

	/* 所有端通用 */
	page,
	body {
		width: 100vw;
		/* 视口宽度 */
		height: 100vh;
		/* 视口高度 */
		margin: 0;
		padding: 0;
		overflow: hidden;
		/* 防止横向滚动 */

		display: flex;
		flex-direction: column;

	}

	/* #ifdef H5 */
	html,
	body {
		height: 100%;
	}

	/* #endif */
	/*每个页面公共css */
	.uni-row {
		flex-direction: row;
	}

	.uni-column {
		flex-direction: column;
	}
</style>